

subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/typec/inc

ifeq ($(CONFIG_MTK_CHARGER_BOMB),y)
	obj-$(CONFIG_TCPC_CLASS) += tcpc_bomb/
else ifeq ($(CONFIG_MTK_CHARGER_CEZANNE),y)
	obj-$(CONFIG_TCPC_CLASS) += tcpc_cezanne/
else ifeq ($(CONFIG_MTK_CHARGER_CANNON),y)
	obj-$(CONFIG_TCPC_CLASS) += tcpc_cannon/
else
	obj-$(CONFIG_TCPC_CLASS) += tcpc/
endif

obj-$(CONFIG_MTK_USB_TYPEC_U3_MUX) += u3_switch/
obj-$(CONFIG_MTK_USB_TYPEC_DP_MUX) += dp/
